//=============================================================================
// PlasmaGunPickup.
//=============================================================================
class PlasmaGunPickup extends UTWeaponPickup;

static function StaticPrecache(LevelInfo L)
{
    L.AddPrecacheMaterial(Texture'XEffectMat.Link.link_muz_blue');
    L.AddPrecacheMaterial(Texture'TFMedia.Plasma_muzmesh_blue');
    L.AddPrecacheMaterial(Texture'TFMedia.Plasma_ring_blue');
//    L.AddPrecacheMaterial(Texture'TFMedia.Plasma_beam_blue');
	L.AddPrecacheMaterial(Texture'TFMedia.Plasma_spark_blue');
	L.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.linkprojectile');
}

simulated function UpdatePrecacheMaterials()
{
    Level.AddPrecacheMaterial(Texture'XEffectMat.Link.link_muz_blue');
    Level.AddPrecacheMaterial(Texture'TFMedia.Plasma_muzmesh_blue');
    Level.AddPrecacheMaterial(Texture'TFMedia.Plasma_ring_blue');
//  Level.AddPrecacheMaterial(Texture'TFMedia.Plasma_beam_blue');
    Level.AddPrecacheMaterial(Texture'TFMedia.Plasma_spark_blue');
}

simulated function UpdatePrecacheStaticMeshes()
{
	Level.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.linkprojectile');
	Super.UpdatePrecacheStaticMeshes();
}

defaultproperties
{
     MaxDesireability=0.700000
     InventoryType=Class'Taskforces.TFSMiniCannon'
     PickupMessage="You got the Plasma Gun."
     PickupSound=Sound'PickupSounds.LinkGunPickup'
     DrawType=DT_StaticMesh
     StaticMesh=StaticMesh'WeaponStaticMesh.LinkGunPickup'
     DrawScale=0.600000
     Skins(0)=Combiner'TFMedia.PlasmaGun.PlasmaGunCombiner1'
}
